package com.wx_shop.api.mapper.gen;

import com.wx_shop.api.domain.AdvertiseInfo;
import com.wx_shop.api.domain.gen.AdvertiseInfoCriteria;
import java.util.List;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@Mapper
public interface SuperAdvertiseInfoMapper {
    long countByExample(AdvertiseInfoCriteria example);

    int deleteByExample(AdvertiseInfoCriteria example);

    int deleteByPrimaryKey(Integer id);

    int insert(AdvertiseInfo record);

    int insertSelective(AdvertiseInfo record);

    List<AdvertiseInfo> selectByExample(AdvertiseInfoCriteria example);

    AdvertiseInfo selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") AdvertiseInfo record, @Param("example") AdvertiseInfoCriteria example);

    int updateByExample(@Param("record") AdvertiseInfo record, @Param("example") AdvertiseInfoCriteria example);

    int updateByPrimaryKeySelective(AdvertiseInfo record);

    int updateByPrimaryKey(AdvertiseInfo record);
}